package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("企业类目")
@Data
public class EnterpriseCategory {

    @ApiModelProperty(value = "类目id,修改时不允为空！")
    int id;

    @ApiModelProperty(hidden = true)
    String code;

    @ApiModelProperty("类别名称")
    String name;

    @ApiModelProperty("上级类别")
    int parentId;

    @ApiModelProperty(value = "状态1启动 2禁用")
    int status;

}
